package za.ac.cput.peterjohn.DesignPatternPrincipals.Structural.Composite.Factory;

import za.ac.cput.peterjohn.DesignPatternPrincipals.Structural.Composite.Model.Leaf;

public class LeafFactory 
{
    public static Leaf createLeaf(String type) 
    {
        Leaf leaf = new Leaf(type);
        return leaf;
    }
}